<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>jQuery UI Slider - Range slider</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
    <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css" />
	<script src="slider.js"></script>
	<script>
	var list =["Onion", "Tomato", "Potato", "Carrot"];
	

	</script>
</head>
<body>

<div id="vegList"></div>
<script>
for(x in list)
	{
	makeSlider(list[x]);
	}
</script>

 
 
</body>
</html>